package com.subang.function.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.subang.common.annotation.Excel;
import com.subang.common.core.domain.BaseEntity;

/**
 * 用户愿望对象 sb_wish
 *
 * @author subei
 * @date 2025-03-13
 */
public class SbWish extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 愿望 ID */
    private Long wishId;

    /** 用户 ID */
    @Excel(name = "用户 ID")
    private Long userId;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String userName;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String userAvatar;

    /** 愿望内容 */
    @Excel(name = "愿望内容")
    private String wishContent;

    /** 许愿时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "许愿时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date wishTime;

    /** 是否实现，0: 未实现，1: 已实现 */
    @Excel(name = "是否实现，0: 未实现，1: 已实现")
    private Integer fulfilled;

    /** 实现时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实现时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date fulfillTime;

    /** 实现内容 */
    @Excel(name = "实现内容")
    private String fulfillContent;

    /** 实现过程 */
    @Excel(name = "实现过程")
    private String fulfillProcess;

    public void setWishId(Long wishId)
    {
        this.wishId = wishId;
    }

    public Long getWishId()
    {
        return wishId;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }

    public void setUserAvatar(String userAvatar)
    {
        this.userAvatar = userAvatar;
    }

    public String getUserAvatar()
    {
        return userAvatar;
    }

    public void setWishContent(String wishContent)
    {
        this.wishContent = wishContent;
    }

    public String getWishContent()
    {
        return wishContent;
    }

    public void setWishTime(Date wishTime)
    {
        this.wishTime = wishTime;
    }

    public Date getWishTime()
    {
        return wishTime;
    }

    public void setFulfilled(Integer fulfilled)
    {
        this.fulfilled = fulfilled;
    }

    public Integer getFulfilled()
    {
        return fulfilled;
    }

    public void setFulfillTime(Date fulfillTime)
    {
        this.fulfillTime = fulfillTime;
    }

    public Date getFulfillTime()
    {
        return fulfillTime;
    }

    public void setFulfillContent(String fulfillContent)
    {
        this.fulfillContent = fulfillContent;
    }

    public String getFulfillContent()
    {
        return fulfillContent;
    }

    public void setFulfillProcess(String fulfillProcess)
    {
        this.fulfillProcess = fulfillProcess;
    }

    public String getFulfillProcess()
    {
        return fulfillProcess;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("wishId", getWishId())
                .append("userId", getUserId())
                .append("userName", getUserName())
                .append("userAvatar", getUserAvatar())
                .append("wishContent", getWishContent())
                .append("wishTime", getWishTime())
                .append("fulfilled", getFulfilled())
                .append("fulfillTime", getFulfillTime())
                .append("fulfillContent", getFulfillContent())
                .append("fulfillProcess", getFulfillProcess())
                .toString();
    }
}
